package com.draemon.haixiawenti.repository;

import com.yangzcp.userpojo.B_saizu_gg;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

/**
 * <p></p>
 *
 * @author  yangz
 * @date    2016/11/13
 * @version latest
 */
public interface B_saizu_ggRepository extends JpaRepository<B_saizu_gg, Integer>{

    @Query("from B_saizu_gg where ref_saizu.id=?1 ")
    public B_saizu_gg findCond(Integer id);

}
